package com.ruoyi.web.rmNew;

import com.ruoyi.web.rmNew.service.FbUpdateService;
import com.ruoyi.web.rmNew.service.ObUpdateService;
import com.ruoyi.web.rmNew.service.RmUpdateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiesm
 * @Description: TODO
 * @date 2025-11-11 10:43
 */
@RestController
@RequestMapping("/cp")
public class RmTestController {
    @Autowired
    private RmUpdateService rmUpdateService;
    @Autowired
    private FbUpdateService fbUpdateService;
    @Autowired
    private ObUpdateService obUpdateService;

    @RequestMapping("/updateRmGameDetail")
    public String updateRmGameDetail() {
        rmUpdateService.updateRmGameDetail();
        return "success";
    }

    @RequestMapping("/showUpdateTime")
    public String showUpdateTime() {
        rmUpdateService.showRmUpdateTime();
        fbUpdateService.showFbUpdateTime();
        obUpdateService.showObUpdateTime();
        return "success";
    }
}
